﻿@page "/consoles"

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]" Name="Normal" Demo="typeof(Demos.Console.ConsoleNormal)" />

<DemoBlock Title="@Localizer["ColorTitle"]" Introduction="@Localizer["ColorIntro"]" Name="Color" Demo="typeof(Demos.Console.ConsoleColor)" />

<DemoBlock Title="@Localizer["IsAutoScrollTitle"]" Introduction="@Localizer["IsAutoScrollIntro"]" Name="IsAutoScroll" Demo="typeof(Demos.Console.ConsoleIsAutoScroll)">
    <p class="mt-3">@((MarkupString)Localizer["IsAutoScrollDescription"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["OnClearTitle"]" Introduction="@Localizer["OnClearIntro"]" Name="OnClear" Demo="typeof(Demos.Console.ConsoleOnClear)" />

<DemoBlock Title="@Localizer["ShowAutoScrollTitle"]" Introduction="@Localizer["ShowAutoScrollIntro"]" Name="ShowAutoScroll" Demo="typeof(Demos.Console.ConsoleShowAutoScroll)">
    <p>@((MarkupString)Localizer["ShowAutoScrollDescription"].Value)</p>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />

<AttributeTable Items="@GetItemAttributes()" Title="@Localizer["ConsoleMessageItem"]" />
